<template>
<div class="view-Vmodel1Child">
	<input type="text" :value="modelValue" @input="onNameInput1"/>
    <br>
</div>
</template>
<script>
export default {
	name: 'Vmodel1Child',
	props: {modelValue: String},
	emits:['update:modelValue'],
	setup (props, context) {
		const onNameInput1 = (e) => {
            console.log(11);
            context.emit('update:modelValue', e.target.value);
		};
		return {
			onNameInput1,
		}
	}
}
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>